package com.yf.exam.modules.paper.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yf.exam.modules.paper.dto.ext.PaperGroupExtDTO;
import com.yf.exam.modules.paper.entity.PaperGroup;
import com.yf.exam.modules.paper.mapper.PaperGroupMapper;
import com.yf.exam.modules.paper.service.PaperGroupService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* <p>
* 考试大题业务实现类
* </p>
*
* @author 聪明笨狗
* @since 2021-04-26 14:20
*/
@Service
public class PaperGroupServiceImpl extends ServiceImpl<PaperGroupMapper, PaperGroup> implements PaperGroupService {

    @Override
    public List<PaperGroupExtDTO> listGroup(String paperId) {
        List<PaperGroupExtDTO> list = baseMapper.listGroup(paperId);
        return list;
    }

    @Override
    public List<PaperGroupExtDTO> listCardGroup(String paperId) {
        return baseMapper.listCardGroup(paperId);
    }


}
